/* 
 1. 引入react组件，根组件，挂载，渲染；
*/

import React, {Component} from "react";

export default class Component1 extends Component {
    render(){

      return(
        <>
          <button>+</button>
          <input type="text" placeholder="请输入数量" />
          <button>-</button>
        </>
      )
    }
}